package com.zrwl.poscloud.xo.mapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zrwl.poscloud.base.entity.HomeworkDetail;
import com.zrwl.poscloud.base.superI.SuperMapper;
import com.zrwl.poscloud.xo.vo.HomeworkBatchVO;
import com.zrwl.poscloud.xo.vo.HomeworkDetailVO;
import com.zrwl.poscloud.xo.vo.StudentScoreSubjectDetailVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 作业详情 Mapper类
 *
 * @author 刘思童 AutoGenerate
 * @date 2023-03-17
 */
public interface HomeworkDetailMapper extends SuperMapper<HomeworkDetail> {
    IPage<HomeworkDetailVO> getPageList(@Param("page") Page page, @Param("param") HomeworkDetailVO homeworkDetailVO);
    List<HomeworkDetailVO> getNotFiledWorkList(@Param("param") HomeworkDetailVO homeworkDetailVO, @Param("status") int[] status);
    List<HomeworkDetailVO> getAllList(@Param("param") HomeworkDetailVO homeworkDetailVO);
    HomeworkDetailVO getWorkDetailInfo(@Param("param") HomeworkDetailVO homeworkDetailVO);

    List<HomeworkDetailVO> getHomeworkDetailByBatchUid(@Param("param") String uid);

    IPage<HomeworkDetailVO> getHomeworkList(@Param("page") Page page, @Param("param")HomeworkDetailVO homeworkDetailVO);

    IPage<HomeworkDetailVO> getWorkRepeatDetailList(@Param("page") Page page,@Param("param") HomeworkDetailVO homeworkDetailVO);

    Integer getFinishCount(@Param("param")HomeworkDetailVO homeworkDetailVO);

    HomeworkDetailVO getSecondExecutionTime(@Param("param") HomeworkDetailVO homeworkDetailVO);

}
